import Mock from 'mockjs'

let params =  Mock.mock({ // 数据池
  "meta": {
    "status": 200,
    "msg": "获取角色列表成功",
  },
  "data":[
    {
      "children":{
        "authName": "商品管理",

      },
      "id": 370,
      "roleDesc": "教师",
      "roleName": "教师",
    }
  ]
})

export default {
  getRolesList: () => ({
    data:params.data,
    meta:params.meta
  })
}

